<style type="text/css">
    .sm-st {
        background:#fff;
        padding:20px;
        -webkit-border-radius:3px;
        -moz-border-radius:3px;
        border-radius:3px;
        margin-bottom:20px;
        -webkit-box-shadow: 0 1px 0px rgba(0,0,0,0.05);
        box-shadow: 0 1px 0px rgba(0,0,0,0.05);
    }
    .sm-st-icon {
        width:60px;
        height:60px;
        display:inline-block;
        line-height:60px;
        text-align:center;
        font-size:30px;
        background:#eee;
        -webkit-border-radius:5px;
        -moz-border-radius:5px;
        border-radius:5px;
        float:left;
        margin-right:10px;
        color:#fff;
    }
    .sm-st-info {
        font-size:12px;
        padding-top:2px;
    }
    .sm-st-info span {
        display:block;
        font-size:24px;
        font-weight:600;
    }
    .orange {
        background:#fa8564 !important;
    }
    .tar {
        background:#45cf95 !important;
    }
    .sm-st .green {
        background:#86ba41 !important;
    }
    .pink {
        background:#AC75F0 !important;
    }
    .yellow-b {
        background: #fdd752 !important;
    }
    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color:#fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0,0,0,0.05);
        box-shadow: 0 1px 0px rgba(0,0,0,0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }
    .st-green {
        background-color: #27C24C;
    }
    .st-violet {
        background-color: #7266ba;
    }
    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float:left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        margin-right: 10px; }
    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500; }
    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis; }
    .stat.lg .value {
        font-size: 26px;
        line-height: 28px; }
    .stat.lg .name {
        font-size: 16px; }
    .stat-col .progress {height:2px;}
    .stat-col .progress-bar {line-height:2px;height:2px;}

    .item {
        padding:30px 0;
    }
    .form-control{border: 0px;}
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab">标的基本信息</a></li>
            <li><a href="#two" data-toggle="tab">标的投资信息</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="form-horizontal">
                <div class="form-group">
                    <label for="c-userId" class="control-label col-xs-12 col-sm-2">{:__('UserId')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.userId}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.name}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status1')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.status1}</div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('Type1')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.type1}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-pledge" class="control-label col-xs-12 col-sm-2">{:__('Pledge')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.pledge}</div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-time" class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.borrowtime}</div>
                    </div>
                </div>

                {if condition = "$row.isDay ==0 "}
                <div class="form-group">
                    <label for="c-repayType" class="control-label col-xs-12 col-sm-2">{:__('RepayType')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">
                            {$row.repayType}
                            {if condition = "$row.repayType ==2 "}
                            按月还本息
                            {/if}
                            {if condition = "$row.repayType ==3 "}
                            按月还息，到期还本
                            {/if}
                        </div>
                    </div>
                </div>
                {/if}


                <div class="form-group">
                    <label for="c-useCards" class="control-label col-xs-12 col-sm-2">{:__('UseCards')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">
                            {if condition = "$row.useCards ==1 "}
                            可用卡券
                            {else}
                            不可用卡券
                            {/if}
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-account" class="control-label col-xs-12 col-sm-2">{:__('Account')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.account}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-raiseAccount" class="control-label col-xs-12 col-sm-2">{:__('RaiseAccount')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.raiseAccount}</div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-aprTotal" class="control-label col-xs-12 col-sm-2">{:__('AprTotal')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.aprTotal}({$row.aprBase}+{$row.aprAdd})</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-limitMoney" class="control-label col-xs-12 col-sm-2">{:__('LimitMoney')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.limitMoney}</div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-interest" class="control-label col-xs-12 col-sm-2">{:__('Interest')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.interest}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-totalAccount" class="control-label col-xs-12 col-sm-2">{:__('TotalAccount')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.totalAccount}</div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-startTime" class="control-label col-xs-12 col-sm-2">{:__('StartTime')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.startTime|datetime}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-endTime" class="control-label col-xs-12 col-sm-2">{:__('EndTime')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.endTime|datetime}</div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="c-createTime" class="control-label col-xs-12 col-sm-2">{:__('CreateTime')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="form-control">{$row.createTime|datetime}</div>
                    </div>
                </div>
                </div>
            </div>

            <div class="tab-pane fade" id="two">
                <div class="row">
                    <div class="col-xs-12">
                        <table id="table" class="table table-striped table-bordered table-hover" width="100%" style="margin-top: 0px;">
                            <thead style="display: table-header-group;">
                            <tr>
                                <th style="text-align: center; vertical-align: middle; " data-field="borrowId">
                                    <div class="th-inner ">BorrowId</div>
                                    <div class="fht-cell"></div>
                                </th>
                                <th style="text-align: center; vertical-align: middle; " data-field="user.phone">
                                    <div class="th-inner ">借款人帐号</div><div class="fht-cell"></div>
                                </th>
                                <th style="text-align: center; vertical-align: middle; " data-field="user.phone">
                                    <div class="th-inner ">借款人帐号</div><div class="fht-cell"></div>
                                </th>
                            </tr>
                            </thead>
                            <tbody data-listidx="0">
                            <tr>
                                <td style="text-align: center; vertical-align: middle; ">14</td>
                                <td style="text-align: center; vertical-align: middle; ">11100000003</td>
                                <td style="text-align: center; vertical-align: middle; ">王测试账户3</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

